package week7;

public class Cow extends Animal2{
    public Cow(){
        super("牛", 001);
    }

    @Override
    public void eat() {
        System.out.println(id + "号" + name + "在吃草。");
    }

    @Override
    public void sleep() {
        System.out.println(id + "号" + name + "在睡觉。");
    }

    @Override
    public void introduction() {
        System.out.println("哞哞哞哞哞哞！");
    }
}
